package com.dh.bzl;

public class IntegerDemo03 {
    public static void main(String[] args) {
        Integer i = 10;
        Integer i2 = 10;
        System.out.println(i == i2);//true


        Integer i3 = 128;
        Integer i4 = 128;
        System.out.println(i3 == i4);//false


        Integer i5 = new Integer(10);
        Integer i6 = 10;
        System.out.println(i5 == i6);//false


        Integer i7 = 10;
        Integer i8 = 10;
        System.out.println(i7.equals(i8));//true


        Integer i9 = 20;
        System.out.println(i9);

        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);


    }
}
